﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CustomerService._Default" %>

<%@ Register Assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    Namespace="System.Web.UI.WebControls" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link rel="Stylesheet" href="style.css" type="text/css" />
    <script language="javascript" type="text/javascript">
        function btnTextSearchHelp_click() {
            TearOff("TextSearchHelp.htm", "TextSearchHelp", 600, 350);
        }

        function TearOff(url, name, width, height) {
            window.name = 'PUMain';
            window.open(url, name, 'left=200,top=200,personalbar=no,toolbar=no,status=no,scrollbars=yes,resizable=yes,menubar=no,width=' + width + ',height=' + height);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" defaultbutton="btnSearch">
    <asp:Panel ID="panel1" runat="server" DefaultButton="btnSearch">
        Search By:<br />
        <table>
            <tr>
                <td>
                    ID Value<br />
                    ( CustomerID, OrderID, ShippingID, RMA, etc... )
                </td>
                <td>
                    <asp:TextBox ID="txtIDSearch" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Text<br />
                    ( Name, Address, Phone, etc... )
                </td>
                <td>
                    <asp:TextBox ID="txtTextSearch" runat="server" />
                    <button id="btnTextSearchHelp" onclick="btnTextSearchHelp_click();" style="background-color:Aqua;">?</button>
                </td>
            </tr>
            <tr>
                <td>
                    Account #<br />
                    ( CC#, Bank account ID )
                </td>
                <td>
                    <asp:TextBox ID="txtAccountSearch" runat="server" />
                </td>
            </tr>
        </table>
        <asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnLoadCustomer_Click" /><br />
        <asp:Button ID="btnNewCustomer" runat="server" Text="New Customer" 
            onclick="btnNewCustomer_Click" /><br />
        <asp:Label ID="lblErrorMessage" runat="server" ForeColor="Red" />
    </asp:Panel>
    </form>
</body>
</html>
